]> dgit.raspbian.org Git - gnome-shell.git/commit
workspace: Initialize WindowPreview using a MetaWindow
authorJonas Dreßler <verdre@v0yd.nl>
Mon, 8 Jun 2020 07:58:22 +0000 (09:58 +0200)
committerJonas Dreßler <verdre@v0yd.nl>
Tue, 16 Jun 2020 12:10:01 +0000 (14:10 +0200)
commit6bef9334b76df3ef79f64c515c8ea0fe90e7d903
tree0467b7b42d39440a4b578b9e44ecb07136896801
parent8c49f45ac8ce1a785bed95a49cbc2d9f420650ff
workspace: Initialize WindowPreview using a MetaWindow

MetaWindow is Mutters representation of a window and provides all the
APIs about it, MetaWindowActor is just the ClutterActor that's drawing
that window. So use a MetaWindow to create a WindowPreview instead of
the window actor.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1307
js/ui/workspace.js